package com.funny.stock.data.dao.repo;

import com.funny.stock.data.dao.entity.StockPoolDO;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface StockPoolRepository extends JpaRepository<StockPoolDO,Long> {

    StockPoolDO findByCode(String code);

    void deleteByCode(String code);
}